<?php
/**
 * Created by PhpStorm.
 * User: xmy2
 * Date: 18-8-17
 * Time: 下午5:41
 */

return [
    'yang-admin' => [
        '/' => 'admin/admin/index'
    ],
    'plugin' => [
        '{name}' => ['admin/plugin/load', '*', ['name' => '.*']],
        'list'    => 'admin/plugin/pluginlist',
        'install/{name}' => ['admin/plugin/load_install', '*', ['name' => '.*']],
    ],
    'menu' => [
        '{name}' => ['admin/menu/load', '*', ['name' => '.*']],
    ],
    'ajax' => [
        '{route}' => ['ajax/index/index', '*', ['route' => '.*']]
    ]
];